// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastclick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'  //轮播图插件
import store from './store/index'
import './assets/style/reset.css'   //在不同浏览器显示相同的一个样式
import './assets/style/border.css'  //1像素边框的问题
import './assets/style/iconfont.css'
import 'swiper/dist/css/swiper.css'



Vue.config.productionTip = false
fastclick.attach(document.body)
Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store, 
  router,  //为简写 扩写为 router：router    
  components: { App },
  template: '<App/>'
})
//路由就是根据网址的不同，返回不同的页面/内容给用户